package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图片管理对象 pub_spider_img
 * 
 * @author gongxt
 * @date 2024-09-10
 */
public class PubSpiderImg extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 图片链接 */
    @Excel(name = "图片链接")
    private String name;

    /** 图片描述 */
    @Excel(name = "图片描述")
    private String descript;

    /** 爬取目标网站 */
    @Excel(name = "爬取目标网站")
    private String web;

    /** 图片链接 */
    @Excel(name = "图片链接")
    private String url;

    /** 缩略图链接 */
    @Excel(name = "缩略图链接")
    private String previewUrl;

    /** 外部链接（详情页链接） */
    @Excel(name = "外部链接", readConverterExp = "详=情页链接")
    private String externalUrl;

    /** 本地路径 */
    @Excel(name = "本地路径")
    private String filePath;

    /** 高 */
    @Excel(name = "高")
    private String height;

    /** 宽 */
    @Excel(name = "宽")
    private String width;

    /** 是否展示 */
    @Excel(name = "是否展示")
    private String isShow;

    /** 是否置顶 */
    @Excel(name = "是否置顶")
    private Integer isTop;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescript(String descript) 
    {
        this.descript = descript;
    }

    public String getDescript() 
    {
        return descript;
    }
    public void setWeb(String web) 
    {
        this.web = web;
    }

    public String getWeb() 
    {
        return web;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setPreviewUrl(String previewUrl) 
    {
        this.previewUrl = previewUrl;
    }

    public String getPreviewUrl() 
    {
        return previewUrl;
    }
    public void setExternalUrl(String externalUrl) 
    {
        this.externalUrl = externalUrl;
    }

    public String getExternalUrl() 
    {
        return externalUrl;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setHeight(String height) 
    {
        this.height = height;
    }

    public String getHeight() 
    {
        return height;
    }
    public void setWidth(String width) 
    {
        this.width = width;
    }

    public String getWidth() 
    {
        return width;
    }
    public void setIsShow(String isShow) 
    {
        this.isShow = isShow;
    }

    public String getIsShow() 
    {
        return isShow;
    }
    public void setIsTop(Integer isTop) 
    {
        this.isTop = isTop;
    }

    public Integer getIsTop() 
    {
        return isTop;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("descript", getDescript())
            .append("web", getWeb())
            .append("url", getUrl())
            .append("previewUrl", getPreviewUrl())
            .append("externalUrl", getExternalUrl())
            .append("filePath", getFilePath())
            .append("height", getHeight())
            .append("width", getWidth())
            .append("isShow", getIsShow())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("remark", getRemark())
            .append("isTop", getIsTop())
            .toString();
    }
}
